package com.distribute.pojo.workflow;

import com.distribute.pojo.enums.*;

import java.util.List;
import java.util.Map;

public class WorkflowInstanceStruct {
    /**
     * Long projectCode, Long processDefinitionCode, FailureStrategy failureStrategy,
     *                                          WarningType warningType, Integer warningGroupId, CommandType execType,
     *                                          List startNodeList, TaskDependType taskDependType, ComplementDependentMode complementDependentMode,
     *                                          RunMode runMode, Priority processInstancePriority, String workerGroup, int environmentCode,
     *                                          Map<String, Object> startParams, int expectedParallelismNumber, int dryRun, String scheduleTime
     */
    private Long projectCode;
    private Long processDefinitionCode;
    private FailureStrategy failureStrategy;
    private WarningType warningType;
    private Integer warningGroupId;
    private CommandType execType;
    private List startNodeList;
    private TaskDependType taskDependType;
    private ComplementDependentMode complementDependentMode;
    private RunMode runMode;
    private Priority processInstancePriority;
    private String workerGroup;
    private int environmentCode;
    private Map<String, Object> startParams;
    private int expectedParallelismNumber;
    private int dryRun;
    private String scheduleTime;

    public Long getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(Long projectCode) {
        this.projectCode = projectCode;
    }

    public Long getProcessDefinitionCode() {
        return processDefinitionCode;
    }

    public void setProcessDefinitionCode(Long processDefinitionCode) {
        this.processDefinitionCode = processDefinitionCode;
    }

    public FailureStrategy getFailureStrategy() {
        return failureStrategy;
    }

    public void setFailureStrategy(FailureStrategy failureStrategy) {
        this.failureStrategy = failureStrategy;
    }

    public WarningType getWarningType() {
        return warningType;
    }

    public void setWarningType(WarningType warningType) {
        this.warningType = warningType;
    }

    public Integer getWarningGroupId() {
        return warningGroupId;
    }

    public void setWarningGroupId(Integer warningGroupId) {
        this.warningGroupId = warningGroupId;
    }

    public CommandType getExecType() {
        return execType;
    }

    public void setExecType(CommandType execType) {
        this.execType = execType;
    }

    public List getStartNodeList() {
        return startNodeList;
    }

    public void setStartNodeList(List startNodeList) {
        this.startNodeList = startNodeList;
    }

    public TaskDependType getTaskDependType() {
        return taskDependType;
    }

    public void setTaskDependType(TaskDependType taskDependType) {
        this.taskDependType = taskDependType;
    }

    public ComplementDependentMode getComplementDependentMode() {
        return complementDependentMode;
    }

    public void setComplementDependentMode(ComplementDependentMode complementDependentMode) {
        this.complementDependentMode = complementDependentMode;
    }

    public RunMode getRunMode() {
        return runMode;
    }

    public void setRunMode(RunMode runMode) {
        this.runMode = runMode;
    }

    public Priority getProcessInstancePriority() {
        return processInstancePriority;
    }

    public void setProcessInstancePriority(Priority processInstancePriority) {
        this.processInstancePriority = processInstancePriority;
    }

    public String getWorkerGroup() {
        return workerGroup;
    }

    public void setWorkerGroup(String workerGroup) {
        this.workerGroup = workerGroup;
    }

    public int getEnvironmentCode() {
        return environmentCode;
    }

    public void setEnvironmentCode(int environmentCode) {
        this.environmentCode = environmentCode;
    }

    public Map<String, Object> getStartParams() {
        return startParams;
    }

    public void setStartParams(Map<String, Object> startParams) {
        this.startParams = startParams;
    }

    public int getExpectedParallelismNumber() {
        return expectedParallelismNumber;
    }

    public void setExpectedParallelismNumber(int expectedParallelismNumber) {
        this.expectedParallelismNumber = expectedParallelismNumber;
    }

    public int getDryRun() {
        return dryRun;
    }

    public void setDryRun(int dryRun) {
        this.dryRun = dryRun;
    }

    public String getScheduleTime() {
        return scheduleTime;
    }

    public void setScheduleTime(String scheduleTime) {
        this.scheduleTime = scheduleTime;
    }
}
